import axios from 'axios'

const http = axios.create({
    baseURL: '/api',
    timeout: 10000
})

http.interceptors.request.use(config => {
        return config
    },
    error => {
        return Promise.reject(error)
    })

export default http